package org.lex.ftp.ui.actions;

import java.awt.event.ActionEvent;
import javax.swing.KeyStroke;

import org.lex.ftp.FTP;

public class NewInstanceAction extends FTPAction {
	public NewInstanceAction(FTP app) {
		super(app);
		this.setName("New Session");
		this.setAcceleratorKey(KeyStroke.getKeyStroke("F12"));
	}

	public void actionPerformed(ActionEvent e) {
		new FTP().getRootWindow().setVisible(true);
	}
}
